<?php
/*
** date : 2011-2-16 ; copyright : 7OUR.COM <http://7our.com> ; author : xjay <xucj21@21cn.com>
*/
class DocumentViewModel extends ViewModel {
	public $viewFields = array(
		'Document' => array('id','userid','content','ctime','reply_count','repost_count',
			'ret_id','inc_at','inc_tag','inc_pic','inc_music','inc_video','location','from','status'),
		'User' => array('email','username','url','jointime','typeid','status'=>'user_status','_on'=>'User.id = Document.id'),	
	);
	protected function _after_select(&$resultSet, $options){
		
	}
	protected function _after_find(&$result, $options){
		
	}
	private function _parseDocument(&$document){
		
	}
}